package com.qf.main.pharmacy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 * @author chengqiang
 * @Create 2024-03-03-18:50
 * @Description:
 */
@ApiModel(description = "pharmacy_inventory")
@Data
@TableName(value = "pharmacy_inventory")
public class PharmacyInventory {
    public static final String COL_CREATE_DATA = "create_date";
    /**
     * 库存id
     */
    @TableId(value = "inventory_id", type = IdType.INPUT)
    @ApiModelProperty(value = "库存id")
    private Integer inventoryId;

    /**
     * 药品编号
     */
    @TableField(value = "pharmacy_id")
    @ApiModelProperty(value = "药品编号")
    private Integer pharmacyId;

    /**
     * 药品名字
     */
    @TableField(value = "pharmacy_name")
    @ApiModelProperty(value = "药品名字")
    private String pharmacyName;

    /**
     * 药品库存
     */
    @TableField(value = "pharmacy_inventory")
    @ApiModelProperty(value = "药品库存")
    private Integer pharmacyInventory;

    /**
     * 更新时间
     */
    @TableField(value = "create_date")
    @ApiModelProperty(value = "更新时间")
    private Date createDate;

    public static final String COL_INVENTORY_ID = "inventory_id";

    public static final String COL_PHARMACY_ID = "pharmacy_id";

    public static final String COL_PHARMACY_NAME = "pharmacy_name";

    public static final String COL_PHARMACY_INVENTORY = "pharmacy_inventory";

    public static final String COL_CREATE_DATE = "create_date";
}